﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductItem.ascx.cs" Inherits="ucProductItem" %>
<div class="productitem">
    <div class="pImage">
        <a href="<%=GetParamater() %>">
            <img src="<%=CreateImageTab()%>" />
        </a>
    </div>
    <p class="pTitle">
        <a href="<%=GetParamater() %>"><%=ProductItem.SKU + " - " + Server.HtmlEncode(ProductItem.Name)%></a> <%=ShowStatus()%>
    </p>
    <% if (!string.IsNullOrEmpty(ProductItem.ShortDescription))
       {%>
    <p class="pDesc">
        <%= Server.HtmlEncode(ProductItem.ShortDescription)%>
    </p>
    <% } %>
    <p class="pPrice">
        <%= SitePage.ShowPrice(ProductItem.WasPrice, ProductItem.NowPrice)%>
    </p>
</div>
